const Layout = () => import('@/layout/index.vue')

const routes = [{
  path: '/',
  component: Layout,
  redirect: '/',
  children: [{
      path: '/',
      name: '',
      component: import('@/views/index.vue'),
      meta: {
        // 是否显示导航栏
        isNavbar: false
      }
    },
    {
      path: '/apply',
      name: '申请补贴',
      component: import('@/views/apply.vue'),
    },
    {
      path: '/query',
      name: '申请列表',
      component: import('@/views/query.vue'),
    },
    {
      path: '/progress',
      name: '进度查看',
      component: import('@/views/progress.vue'),
    }
  ]
},
{
  path: '/403',
  name: '403',
  component: import('@/views/403.vue'),
  meta: {
    // 是否显示导航栏
    isNavbar: true
  }
}
]

export default routes
